package cn.edu.ujn.dao;

import java.math.BigDecimal;
import java.util.Date;

public class Parkingrecord {
    private Integer recordid;

    private Integer spaceid;

    private Integer vehicleid;

    private String starttime;

    private String endtime;

    private Integer duration;

    private BigDecimal fee;

    private Vehicleinfo vehicleinfo;

    public Vehicleinfo getVehicleinfo() {
        return vehicleinfo;
    }

    public void setVehicleinfo(Vehicleinfo vehicleinfo) {
        this.vehicleinfo = vehicleinfo;
    }

    public Integer getRecordid() {
        return recordid;
    }

    public void setRecordid(Integer recordid) {
        this.recordid = recordid;
    }

    public Integer getSpaceid() {
        return spaceid;
    }

    public void setSpaceid(Integer spaceid) {
        this.spaceid = spaceid;
    }

    public Integer getVehicleid() {
        return vehicleid;
    }

    public void setVehicleid(Integer vehicleid) {
        this.vehicleid = vehicleid;
    }

    public String getStarttime() {
        return starttime;
    }

    public void setStarttime(String starttime) {
        this.starttime = starttime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public Integer getDuration() {
        return duration;
    }

    public void setDuration(Integer duration) {
        this.duration = duration;
    }

    public BigDecimal getFee() {
        return fee;
    }

    public void setFee(BigDecimal fee) {
        this.fee = fee;
    }

    @Override
    public String toString() {
        return "Parkingrecord{" +
                "recordid=" + recordid +
                ", spaceid=" + spaceid +
                ", vehicleid=" + vehicleid +
                ", starttime=" + starttime +
                ", endtime=" + endtime +
                ", duration=" + duration +
                ", fee=" + fee +
                '}';
    }
}